﻿using System;

namespace Gqq.Csharpindepth.Designpatter.Moduals
{
    internal class Elephant : Animal
    {
        public Elephant(string name)
            : this(name, 4, AnimalBody.Big)
        {
        }

        public Elephant(string name, int limbs = 4, AnimalBody body = AnimalBody.Big)
            : base(name, limbs, body)
        {
        }

        public override void Call()
        {
            Console.WriteLine("hou hou");
        }

    }
}
